/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.membros.database.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import br.com.membros.database.utils.BaseEntity;

@Entity
@Table(name = "tb_sala")
public class SalaEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue
    @Column(name = "ID_SALA")
    private Long idSala;

    @Column(name = "NM_SALA")
    private String nmSala;

    public SalaEntity() {
    }

    public SalaEntity(Long idSala) {
        this.idSala = idSala;
    }

    public SalaEntity(Long idSala, String nmSala) {
        this.idSala = idSala;
        this.nmSala = nmSala;
    }

    public Long getIdSala() {
        return idSala;
    }

    public void setIdSala(Long idSala) {
        this.idSala = idSala;
    }

    public String getNmSala() {
        return nmSala;
    }

    public void setNmSala(String nmSala) {
        this.nmSala = nmSala;
    }    
}
